ImageGear Professional for Linux
DIB Information

ImageGear provides two ways to access image attributes: via the HIGEAR handle, and via the special object HIGDIBINFO, which encapsulates the image attributes.

Image Attribute

To Access via HIGEAR

To Access via HIGDIBINFO

Width

IG_image_dimensions_get

IG_DIB_width_get

Height

IG_image_dimensions_get

IG_DIB_height_get

Color Space

IG_image_colorspace_get

IG_DIB_colorspace_get

Channel Depths

IG_image_channel_count_get

IG_image_channel_depth_get

IG_image_channel_depths_get

IG_DIB_channel_count_get

IG_DIB_channel_depth_get

IG_DIB_channel_depths_get

Palette (for images that have Indexed colorspace)

IG_palette_get

IG_palette_set

IG_DIB_palette_alloc

IG_DIB_palette_length_get

IG_DIB_palette_size_get

IG_DIB_palette_pointer_get

Resolution

IG_image_resolution_get

IG_image_resolution_set

IG_DIB_resolution_get

IG_DIB_resolution_set

Signed attribute

IG_image_is_signed_get

IG_image_is_signed_set

 

The HIGDIBINFO object only contains the attributes and does not contain the pixels.

Use IG_DIB_info_create to create a DIB info object. Use IG_DIB_info_copy to create a copy of an existing object. Use IG_image_DIB_info_get to obtain DIB information from a HIGEAR handle.

When the HIGDIBINFO object is no longer in use, you must delete it using IG_DIB_info_delete.

You cannot edit the DIB information of a HIGEAR directly. Instead, use image processing functions to modify the image: resize, convert to a different color space, change its resolution, etc.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback